package com.tc.vms.utils;

public class ZkBootOptions {

    private int zkConnectionTimeout = 10 * 1000;
    private int zkSessionTimeout = 20 * 1000;

    public ZkBootOptions(int connectionTimeout, int sessionTimeout) {
        this.zkConnectionTimeout = connectionTimeout;
        this.zkSessionTimeout = sessionTimeout;
    }

    public int getZKConnectionTimeout() {
        return zkConnectionTimeout;
    }

    public int getZKSessionTimeout() {
        return zkSessionTimeout;
    }

    public void setZKSessionTimeout(int sessionTimeout) {
        this.zkSessionTimeout = sessionTimeout;
    }

    public void setZKConnectionTimeout(int zkTimeout) {
        this.zkConnectionTimeout = zkTimeout;
    }
}
